import Block from "./block.js";

class Destoriable extends Block{
    life:number;
    constructor( x: number, y: number,imgSrc: string|undefined, width?: number, height?: number,life:number=100){
        super(x,y,imgSrc,width,height);
        this.life = life;
    }
}

export default Destoriable;